package com.example.demo.service.Impl;

import com.example.demo.entity.SecuritiesNews;
import com.example.demo.mapper.SecuritiesNewsMapper;
import com.example.demo.service.ISecuritiesNews;
import com.example.demo.vo.SecuritiesNewsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SecuritiesNewsServiceImpl implements ISecuritiesNews {

    @Autowired
    private SecuritiesNewsMapper mapper;

    @Override
    public List<SecuritiesNewsVo> selectSecuritiesNewsList() {
        return mapper.selectSecuritiesNewsList();
    }
}
